package cn.sun.result;

import lombok.AllArgsConstructor;
import lombok.ToString;

/**
 * 接口返回code和message枚举
 */
@ToString
@AllArgsConstructor
public enum CodeEnum {
    SUCCESS("0", "成功"),
    FAIL("1", "失败"),
    EXCEPTION("999", "接口异常");

    public final String code;
    public final String message;
}
